
#ifndef EQUIPMENTINVISIBLE_H_
#define EQUIPMENTINVISIBLE_H_

#include "Equipment.h"
#include "../../Timer.h"

class EquipmentInvisible: public Equipment {
public:
	EquipmentInvisible(Widget* parent);
	EquipmentInvisible(DTOEquipment* dtoEquipment, Widget* parent);
	virtual void handleEvent(Event event);
	virtual void updateStatus();
	virtual int reduceLife(int value,playElement element);
	virtual void showOn(SDL_Surface* surface,int offsetX,int offsetY);
	virtual DTOEquipment* getDTO();
	virtual ~EquipmentInvisible();
private:
	int maxDuration;
	float timeAlive; //El tiempo que la invisibilidad estuvo activa
	Timer timer;
};

#endif /* EQUIPMENTMINA_H_ */
